<?php
namespace app\system\validate;
use think\Validate;

class Content extends Validate
{

    protected $rule =   [
        'title' => 'require',
    	'type' => 'require',
    	'content' => 'require',
    ];

    protected $message  =   [
        'title.require'  => '请输入分类名称',
    	'type.require'  => '类型错误',
    	'content.require'  => '主要内容不能为空',
    ];

}


